package com.lj.dict.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lj.dict.enums.DictValueType;
import com.lj.mp.standard.entity.SysStandardEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 字典项表
 * </p>
 *
 * @author luojing
 * @since 2025-01-10 11:16:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dict_item")
public class DictItem extends SysStandardEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 字典id
     */
    private Long dictId;

    /**
     * 字典标签
     */
    private String label;

    /**
     * 字典值
     */
    private String value;

    /**
     * 值类型，帮助前端做类型转换
     */
    private DictValueType valueType;

    /**
     * 附加的信息
     */
    private String extendJson;

    /**
     * 排序
     */
    private Integer sort;
}
